//
//  HDRequestAPI.h
//  HeartBeat
//
//  Created by karong on 2023/8/23.
//

#ifndef HDRequestAPI_HEARTBEAT_h
#define HDRequestAPI_HEARTBEAT_h
//#define API_HEARTBEAT_HOST                        @"api.heartbeatnovels.com"
#define API_HEARTBEAT_HOST                        @"api.heartbeatnovels.com"
#define FULL_ADDRESS(address)           [NSString stringWithFormat:@"http://%@/%@", API_HEARTBEAT_HOST, address]
#define FULL_WEB_ADDRESS(address)       [NSString stringWithFormat:@"http://%@/?s=%@", API_HEARTBEAT_HOST, address]
///用戶協議
#define API_HEARTBEAT_AGREEMENT_USER              @"App.Agreement.Index"
///隱私協議
#define API_HEARTBEAT_AGREEMENT_PRIVACY           @"App.Privacy.Index"
///vip服務協議
#define API_HEARTBEAT_AGREEMENT_VIP               @"App.Agreement.Vip"
///第三方Ushare服務和隱私政策
#define API_HEARTBEAT_AGREEMENT_USHARE            @"App.Agreement.Ushare"
#define API_HEARTBEAT_START_CONFIG                @"App.Start.Config"
#define API_HEARTBEAT_LOGIN                       @"App.Login.Oauth"
#define API_HEARTBEAT_UPLOAD_IMAGE                @"App.Upload.UploadImage"
#define API_HEARTBEAT_LINE_LOGIN                  @"App.Login.Line"


///消息中心
#define API_HEARTBEAT_FEEDBACK_LIST               @"App.Feedback_Main.Lists"
/**
 追書
 */
#define API_HEARTBEAT_BOOKSHELF                   @"App.Book.BookshelfList"
#define API_HEARTBEAT_BOOKSHELF_ADD               @"App.Book.AddBookshelf"
#define API_HEARTBEAT_BOOKSHELF_DEL               @"App.Book.DelBookshelf"
#define API_HEARTBEAT_BOOK_HISTORY                @"App.Book.History"
#define API_HEARTBEAT_BOOK_HISTORY_ADD            @"App.BookChapter.ReadLog"
#define API_HEARTBEAT_BOOK_HISTORY_DEL            @"App.Book.DelHistory"
/**
 发现
 */
#define API_HEARTBEAT_CHANNEL                     @"App.Home.Channel"
#define API_HEARTBEAT_CHANNEL_CONFIG              @"App.Home.ChannelConfig"
#define API_HEARTBEAT_BOOK_SEARCH                 @"App.Book.Search"
#define API_HEARTBEAT_SEARCH_HOT                  @"App.Book.HotSearch"
#define API_HEARTBEAT_NEWEST_MORE                 @"App.Home.FindNewestTopMore"
#define API_HEARTBEAT_RANK_MORE                   @"App.Book.Rank"
#define API_HEARTBEAT_CATEGORY                    @"App.BookCategory.Index"
#define API_HEARTBEAT_CATEGORY_LIST               @"App.BookCategory.FilterList"
#define API_HEARTBEAT_FOR_YOU_CHOICE              @"App.Home.ForYourChoice"
/**
 任務
 */
#define API_HEARTBEAT_TASK_LIST                   @"App.UserTask.Lists"
#define API_HEARTBEAT_USER_SIGN_LIST              @"App.UserSign.Lists"
#define API_HEARTBEAT_USER_SIGN                   @"App.UserSign.SignAction"
#define API_HEARTBEAT_TASK_GETREWARD              @"App.UserTask.GetTaskReward"

/**
 我的
 */
#define API_HEARTBEAT_USER_INFO                   @"App.User.GetUserInfo"
#define API_HEARTBEAT_USER_EDIT                   @"App.User.Edit"
#define API_HEARTBEAT_FEEDBACK_TYPE               @"App.Feedback_Main.Type"
#define API_HEARTBEAT_FEEDBACK_SUBMIT             @"App.Feedback_Main.Add"
#define API_HEARTBEAT_USER_DEL                    @"App.User.Cancel"
#define API_HEARTBEAT_GOODS_LIST                  @"App.Goods.Index"
#define API_HEARTBEAT_ORDER_VALID                 @"App.Order.IosValid"
#define API_HEARTBEAT_ORDER_CREAT                 @"App.Pay.CreateOrder"
/**
 小說
 */
#define API_HEARTBEAT_NOVEL_DETAIL                @"App.Book.Detail"
#define API_HEARTBEAT_NOVEL_CHAPTER_LIST          @"App.Book.Chapter"
#define API_HEARTBEAT_NOVEL_CHAPTER_DETAIL        @"App.BookChapter.Detail"
#define API_HEARTBEAT_CHAPTER_PAY                 @"App.BookChapter.SingleBuy"
#define API_HEARTBEAT_NOVEL_CHAPTER_CANBUY        @"App.BookChapter.CanBuy"
#define API_HEARTBEAT_CHAPTER_PACKAGE_PAY         @"App.BookChapter.BatchBuy"
#define API_HEARTBEAT_CHAPTER_READLOG             @"App.BookChapter.ReadLog"
#define API_HEARTBEAT_NOVEL_SCORE                 @"App.BookComment.AddComment"

#endif /* HDRequestAPI_HEARTBEAT_h */
